<template>
	<div class="localComponents">{{ title }}</div>
</template>

<script>
export default {
	name: 'localComponents',
	data () {
		return {}
	},
	props: {
		title: {
			required: true,
			type: String,
			default: '标题'
		}
	},
	created () {
		this.handle()
	},
	methods: {
		handle () {
			let obj = {
				name: '局部组件'
			}
			this.$emit('change', obj)
		}
	}
}
</script>

<style>
</style>
